html,
body {
  width: 100%;
  height: 100%;
}
body {
  background: url(/images/login_bg.jpg) no-repeat center;
  background-size: cover;
}
.login-reg-box {
  position: relative;
  width: 400px;
  height: 310px;
  background-color: azure;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 30px;
}
.login-reg-box .layui-form {
  position: relative;
}
.login-reg-box .title-box {
  height: 60px;
  background: url(/images/login_title.png) no-repeat center;
}
.layui-input-block {
  position: relative;
  margin-left: 0px;
}
.layui-input-block .layui-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}
.layui-input-block .layui-input {
  padding-left: 35px;
}
.layui-input-block .layui-btn {
  width: 100%;
}
.layui-input-block .btn #link_reg,
.layui-input-block .btn #link_login {
  position: absolute;
  right: 10px ;
}
